home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gTotalDone, gTotalRight, gTotal2nd, gAvgAns, gAvgRev, gQuitDown, gMyPerc
- set gQuitDown to 0
- put string(gTotalDone) into field "total"
- put string(gTotalRight) into field "right"
- if gTotalDone = 0 then
- put "0" into field "Perc"
- set gMyPerc to 0
- put "0" into field "Perc2"
- else
- set gMyPerc to integer(100.0 * gTotalRight / gTotalDone)
- put string(gMyPerc) into field "Perc"
- set myperc to integer(100.0 * (gTotalRight + (gTotal2nd * 0.29999999999999999)) / gTotalDone)
- put string(myperc) into field "Perc2"
- end if
- set the floatPrecision to 1
- put string(integer(gAvgAns * 10) / 10.0) into field "Ans"
- put string(integer(gAvgRev * 10) / 10.0) into field "Rev"
- end
-